diff:
	gcc -o bin/Diff_histo sources/projet_Diff_histo.c

histo:
	gcc -o bin/HistoCubes sources/projet_Histogramme.c sources/nrio.c sources/nralloc.c sources/nrarith.c

all:
	gcc -o bin/Diff_histo sources/projet_Diff_histo.c
	gcc -o bin/HistoCubes sources/projet_HistoCubes.c sources/nrio.c sources/nralloc.c sources/nrarith.c
	gcc -o bin/HistoRice sources/projet_HistoRice.c sources/nrio.c sources/nralloc.c sources/nrarith.c
	gcc -o bin/AffichHateur sources/projet_AffichHauteur.c sources/nrio.c sources/nralloc.c sources/nrarith.c	
	gcc -o bin/AffichLargeur sources/projet_AffichLargeur.c sources/nrio.c sources/nralloc.c sources/nrarith.c
	gcc -o bin/AffichPixBlanc sources/projet_AffichPixBlanc.c sources/nrio.c sources/nralloc.c sources/nrarith.c
	gcc -o bin/Bhattacharyya sources/projet_Bhattacharyya.c sources/nrio.c sources/nralloc.c sources/nrarith.c -lm
	gcc -o bin/Sobel sources/projet_Sobel.c sources/nrio.c sources/nralloc.c sources/nrarith.c -lm
	gcc -o bin/rgb8_or_not sources/projet_rgb8_or_not.c sources/nrio.c sources/nralloc.c sources/nrarith.c
	gcc -o bin/RGB_ppm sources/projet_RGB_ppm.c sources/nrio.c sources/nralloc.c sources/nrarith.c
	gcc -o bin/AffichPixTotal sources/projet_AffichPixTotal.c sources/nrio.c sources/nralloc.c sources/nrarith.c -lm

clean:
	rm ./bin/*
